package com.yc.yjh.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 廖老师
 * @since 2023-07-21
 */
public class Tickets implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 票务ID
     */
    private Long ticketId;

    /**
     * 赛事ID
     */
    private Long tournamentId;

    /**
     * 场馆ID
     */
    private Long venueId;

    /**
     * 票类型
     */
    private String type;

    /**
     * 票价格
     */
    private Float price;

    /**
     * 库存数量
     */
    private Integer inventory;

    /**
     * 剩余数量
     */
    private Integer remaining;

    /**
     * 开售时间
     */
    private LocalDateTime startDate;

    /**
     * 结束时间
     */
    private LocalDateTime endDate;


    public Long getTicketId() {
        return ticketId;
    }

    public void setTicketId(Long ticketId) {
        this.ticketId = ticketId;
    }

    public Long getTournamentId() {
        return tournamentId;
    }

    public void setTournamentId(Long tournamentId) {
        this.tournamentId = tournamentId;
    }

    public Long getVenueId() {
        return venueId;
    }

    public void setVenueId(Long venueId) {
        this.venueId = venueId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public Integer getInventory() {
        return inventory;
    }

    public void setInventory(Integer inventory) {
        this.inventory = inventory;
    }

    public Integer getRemaining() {
        return remaining;
    }

    public void setRemaining(Integer remaining) {
        this.remaining = remaining;
    }

    public LocalDateTime getStartDate() {
        return startDate;
    }

    public void setStartDate(LocalDateTime startDate) {
        this.startDate = startDate;
    }

    public LocalDateTime getEndDate() {
        return endDate;
    }

    public void setEndDate(LocalDateTime endDate) {
        this.endDate = endDate;
    }

    @Override
    public String toString() {
        return "Tickets{" +
        "ticketId=" + ticketId +
        ", tournamentId=" + tournamentId +
        ", venueId=" + venueId +
        ", type=" + type +
        ", price=" + price +
        ", inventory=" + inventory +
        ", remaining=" + remaining +
        ", startDate=" + startDate +
        ", endDate=" + endDate +
        "}";
    }
}
